import request from "@/utils/request";

// 分页获取论文收录补录列表
export function getpaperEmbodyList(query) {
  return request({
    url: "/achievement/paperEmbody/list",
    method: "get",
    params: query,
  });
}

// 添加论文收录补录
export function getpaperEmbodyAdd(data) {
  return request({
    url: "​/achievement​/paperEmbody/add",
    method: "post",
    data: data,
  });
}

// 删除论文收录补录
export function paperEmbodyDel(ids) {
  return request({
    url: "/achievement/paperEmbody/del/" + ids,
    method: "delete",
  });
}

// 获取论文收录补录详情
export function getpaperEmbodyInfo(id) {
  return request({
    url: "/achievement/paperEmbody/" + id,
    method: "get",
  });
}

// 分页获取学术论文列表
export function getpaperList(query) {
  return request({
    url: "/achievement/paper/list",
    method: "get",
    params: query,
  });
}
// 删除学术论文
export function paperDel(ids) {
  return request({
    url: "/achievement/paper/del/" + ids,
    method: "delete",
  });
}

// 获取学术论文详情
export function getpaperInfo(id) {
  return request({
    url: "/achievement/paper/" + id,
    method: "get",
  });
}
// 添加学术论文
export function getpaperAdd(data) {
  return request({
    url: "​/achievement​/paper/add",
    method: "post",
    data: data,
  });
}

// 修改学术论文
export function getpaperUpdate(data) {
  return request({
    url: "​/achievement​/paper/update",
    method: "post",
    data: data,
  });
}

// 分页获取刊物级别列表
export function getlevelList(query) {
  return request({
    url: "/achievement/level/list",
    method: "get",
    params: query,
  });
}
// 删除刊物级别
export function levelDel(ids) {
  return request({
    url: "/achievement/level/del/" + ids,
    method: "delete",
  });
}

// 获取刊物级别详情
export function getlevelInfo(id) {
  return request({
    url: "/achievement/level/" + id,
    method: "get",
  });
}

// 添加刊物级别
export function getlevelAdd(data) {
  return request({
    url: "​/achievement​/level/add",
    method: "post",
    data: data,
  });
}

// 修改刊物级别
export function getlevelUpdate(data) {
  return request({
    url: "​/achievement​/level/update",
    method: "post",
    data: data,
  });
}

// 分页获取期刊源列表
export function getsourceList(query) {
  return request({
    url: "/achievement/source/list",
    method: "get",
    params: query,
  });
}
// 删除期刊源
export function sourceDel(ids) {
  return request({
    url: "/achievement/source/del/" + ids,
    method: "delete",
  });
}

// 获取期刊源详情
export function getsourceInfo(id) {
  return request({
    url: "/achievement/source/" + id,
    method: "get",
  });
}

// 添加期刊源
export function getsourceAdd(data) {
  return request({
    url: "​/achievement​/source/add",
    method: "post",
    data: data,
  });
}

// 修改期刊源
export function getsourceUpdate(data) {
  return request({
    url: "​/achievement​/source/update",
    method: "post",
    data: data,
  });
}

// 分页获取期刊列表
export function getmagazineList(query) {
  return request({
    url: "/achievement/magazine/list",
    method: "get",
    params: query,
  });
}
// 删除期刊
export function magazineDel(ids) {
  return request({
    url: "/achievement/magazine/del/" + ids,
    method: "delete",
  });
}

// 获取期刊详情
export function getmagazineInfo(id) {
  return request({
    url: "/achievement/magazine/" + id,
    method: "get",
  });
}

// 添加期刊
export function getmagazineAdd(data) {
  return request({
    url: "​/achievement​/magazine/add",
    method: "post",
    data: data,
  });
}

// 修改期刊
export function getmagazineUpdate(data) {
  return request({
    url: "​/achievement​/magazine/update",
    method: "post",
    data: data,
  });
}

// 分页获取艺术作品列表
export function getartProductList(query) {
  return request({
    url: "/achievement/artProduct/list",
    method: "get",
    params: query,
  });
}

// 添加艺术作品
export function getartProductAdd(data) {
  return request({
    url: "​/achievement​/artProduct/add",
    method: "post",
    data: data,
  });
}
// 修改艺术作品
export function getartProductUpdate(data) {
  return request({
    url: "/achievement/artProduct/update",
    method: "post",
    data: data,
  });
}

// 删除艺术作品
export function artProductDel(ids) {
  return request({
    url: "/achievement/artProduct/del/" + ids,
    method: "delete",
  });
}

// 获取艺术作品详情
export function getartProductInfo(id) {
  return request({
    url: "/achievement/artProduct/" + id,
    method: "get",
  });
}

// 分页获取鉴定成果列表
export function getappraisalList(query) {
  return request({
    url: "/achievement/appraisal/list",
    method: "get",
    params: query,
  });
}

// 添加鉴定成果
export function getappraisalAdd(data) {
  return request({
    url: "​/achievement​/appraisal/add",
    method: "post",
    data: data,
  });
}
// 修改鉴定成果
export function getappraisalUpdate(data) {
  return request({
    url: "/achievement/appraisal/update",
    method: "post",
    data: data,
  });
}

// 删除鉴定成果
export function appraisalDel(ids) {
  return request({
    url: "/achievement/appraisal/del/" + ids,
    method: "delete",
  });
}

// 获取鉴定成果详情
export function getappraisalInfo(id) {
  return request({
    url: "/achievement/appraisal/" + id,
    method: "get",
  });
}

// 分页获取研究报告列表
export function getreportList(query) {
  return request({
    url: "/achievement/report/list",
    method: "get",
    params: query,
  });
}

// 添加研究报告
export function getreportAdd(data) {
  return request({
    url: "​/achievement​/report/add",
    method: "post",
    data: data,
  });
}
// 修改研究报告
export function getreportUpdate(data) {
  return request({
    url: "/achievement/report/update",
    method: "post",
    data: data,
  });
}

// 删除研究报告
export function reportDel(ids) {
  return request({
    url: "/achievement/report/del/" + ids,
    method: "delete",
  });
}

// 获取研究报告详情
export function getreportInfo(id) {
  return request({
    url: "/achievement/report/" + id,
    method: "get",
  });
}

// 分页获取学术著作列表
export function getbookList(query) {
  return request({
    url: "/achievement/book/list",
    method: "get",
    params: query,
  });
}

// 添加学术著作
export function getbookAdd(data) {
  return request({
    url: "​/achievement​/book/add",
    method: "post",
    data: data,
  });
}
// 修改学术著作
export function getbookUpdate(data) {
  return request({
    url: "/achievement/book/update",
    method: "post",
    data: data,
  });
}

// 删除学术著作
export function bookDel(ids) {
  return request({
    url: "/achievement/book/del/" + ids,
    method: "delete",
  });
}

// 获取学术著作详情
export function getbookInfo(id) {
  return request({
    url: "/achievement/book/" + id,
    method: "get",
  });
}

// 添加学术论文收录信息
export function getaddPaperInclude(data) {
  return request({
    url: "​/achievement​/paper/addPaperInclude",
    method: "post",
    data: data,
  });
}
// 编辑学术论文收录信息
export function geteditPaperInclude(data) {
  return request({
    url: "​/achievement​/paper/editPaperInclude",
    method: "post",
    data: data,
  });
}
// 获取学术论文收录信息
export function getpaperIncludeInfo(id) {
  return request({
    url: "/achievement/paper/paperInclude/" + id,
    method: "get",
  });
}

// 删除学术论文收录信息
export function delPaperInclude(ids) {
  return request({
    url: "/achievement/paper/delPaperInclude/" + ids,
    method: "delete",
  });
}

// 添加转载情况收录信息
export function getaddPaperReship(data) {
  return request({
    url: "​/achievement​/paper/addPaperReship",
    method: "post",
    data: data,
  });
}
// 编辑转载情况收录信息
export function geteditPaperReship(data) {
  return request({
    url: "​/achievement​/paper/editPaperReship",
    method: "post",
    data: data,
  });
}
// 获取转载情况收录信息
export function getpaperReshipInfo(id) {
  return request({
    url: "/achievement/paper/paperReship/" + id,
    method: "get",
  });
}

// 删除转载情况收录信息
export function delPaperReship(ids) {
  return request({
    url: "/achievement/paper/delPaperReship/" + ids,
    method: "delete",
  });
}

// // 添加补录信息
// export function getpaperEmbodyAdd(data) {
//   return request({
//     url: "​/achievement​/paperEmbody/add",
//     method: "post",
//     data: data,
//   });
// }
// // 获取学术论文收录信息
// export function getpaperIncludeInfo(id) {
//   return request({
//     url: "/achievement/paper/paperInclude/" + id,
//     method: "get",
//   });
// }

// 获取学术论文状态列表
export function getpaperListStatistics(query) {
  return request({
    url: "/achievement/paper/list-statistics",
    method: "get",
    params: query,
  });
}

// 获取论文收录补录状态列表
export function getpaperEmbodyListStatistics(query) {
  return request({
    url: "/achievement/paperEmbody/list-statistics",
    method: "get",
    params: query,
  });
}

// 获取学术著作状态列表
export function getbookListStatistics(query) {
  return request({
    url: "/achievement/book/list-statistics",
    method: "get",
    params: query,
  });
}

// 获取研究报告状态列表
export function getreportListStatistics(query) {
  return request({
    url: "/achievement/report/list-statistics",
    method: "get",
    params: query,
  });
}

// 获取成果评价状态列表
export function getappraisalListStatistics(query) {
  return request({
    url: "/achievement/appraisal/list-statistics",
    method: "get",
    params: query,
  });
}

// 获取艺术作品状态列表
export function getartProductListStatistics(query) {
  return request({
    url: "/achievement/artProduct/list-statistics",
    method: "get",
    params: query,
  });
}

// 获取发表/刊物论文集
export function getmagazineSelect(query) {
  return request({
    url: "/achievement/magazine/select",
    method: "get",
    params: query,
  });
}
